package com.example.mobile2021606185zhn0401;

import android.os.Bundle;
import android.widget.Button;
import android.widget.ImageView;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity2 extends AppCompatActivity {

    private ImageView imageView;
    private Button btnMainOnOff;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
        initView();
    }

    private void initView() {
        imageView = (ImageView) findViewById(R.id.imageView);
        btnMainOnOff = (Button) findViewById(R.id.btn_main_on_off);
    }
}